using System;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Data.Entity.ModelConfiguration;

namespace Infrastructure.Data.Uow.Mapping
{
    using Domain.Entity;
    
    public partial class ArticleInfoMapping
     : EntityTypeConfiguration<ArticleInfo>    
    {
    	public ArticleInfoMapping()
    	{
    		this.ToTable("ArticleInfo");
    		this.HasKey(d => d.Id);
    		this.Property(d => d.AddTime);
    		this.Property(d => d.IpAddress);
    		this.Property(d => d.State);
    		this.Property(d => d.SortNum);
    		this.Property(d => d.UserId);
    		this.Property(d => d.UserName);
    		this.Property(d => d.IsAud);
    		this.Property(d => d.IsDelete);
    		this.Property(d => d.IsVouch);
    		this.Property(d => d.IsTop);
    		this.Property(d => d.AudTime);
    		this.Property(d => d.DeleteTime);
    		this.Property(d => d.VouchTime);
    		this.Property(d => d.TopTime);
    		this.Property(d => d.Title);
    		this.Property(d => d.SubTitle);
    		this.Property(d => d.Content);
    		this.Property(d => d.ViewCount);
    		this.Property(d => d.Source);
    		this.Property(d => d.Remark);
    		this.Property(d => d.CustomDateTime);
    		this.Property(d => d.ExpiredDateTime);
    	}
    }
}
